<template>
  <div>
    <reporttop :title="title"></reporttop>
    <div class="zhexian">
      <div>
        <p>诊断统计</p>
        <hr />
        <h2>年度诊断统计</h2>
        <ReportZhexXian></ReportZhexXian>
      </div>
      <div>
        <p>药品统计</p>
        <hr />
        <h2>药品统计</h2>
        <bingtu></bingtu>
      </div>
    </div>
    <div class="mytable">
      <p>年度诊断报告</p>
      <mytable></mytable>
    </div>
  </div>
</template>
<script>
import reporttop from "../../components/report_ssh/report_top.vue";
import ReportZhexXian from "../../components/report_ssh/reportzhexian.vue";
import bingtu from "../../components/report_ssh/reportbing.vue";
import mytable from "../../components/report_ssh/reporttable.vue";
export default {
  name: "",
  components: {
    reporttop,
    ReportZhexXian,
    bingtu,
    mytable,
  },
  data() {
    return {
      title: [
        { name: "诊断总数", imgsrc: require("../../assets/log1.png") },
        { name: "应收金额", imgsrc: require("../../assets/log2.png") },
        { name: "实收金额", imgsrc: require("../../assets/log3.png") },
        { name: "取消总数", imgsrc: require("../../assets/log4.png") },
      ],
    };
  },
};
</script>
<style lang="less" scoped>
.zhexian {
  width: 100%;
  margin-top: 20px;
  display: flex;
  h2 {
    text-align: center;
  }
  div {
    width: 47%;
    float: left;
    background-color: white;
    margin-left: 20px;
  }
}
.mytable {
  margin-top: 20px;
  background-color: white;
}
</style>
